﻿using System;
using System.Xml.Serialization;
using TiPort.TiEntityObjects;
using TI;

namespace TiEntityObject.Contract
{
    public class ContractFoundation 
    {
        public Int64 ID { get; set; }

        [XmlElement("singleCustomer")]
        public bool SingleCustomer { get; set; }
    
        [XmlElement("order")]
        [LinkObjectAttribute(ChildFieldName = "ID", IsPartialObject = true, ParentFieldName = "ID")]
        public ContractOrder ContractOrder { get; set; }
     
    }
}
